package com.ksp.wke.kspa04;

import java.util.Random;

/**
 * 订单请求的实体类，包含了订单的信息
 * @author anye
 *
 */
public class OrderRequest {

	private int goodId = new Random().nextInt(100000);// 商品id
	private int userId = new Random().nextInt(100000);// 用户ID
	private int status;// 0:未处理;1:正常;2:异常
	public int getGoodId() {
		return goodId;
	}
	public void setGoodId(int goodId) {
		this.goodId = goodId;
	}
	public int getUserId() {
		return userId;
	}
	public void setUserId(int userId) {
		this.userId = userId;
	}
	public int getStatus() {
		return status;
	}
	public void setStatus(int status) {
		this.status = status;
	}



}
